import React from 'react'
import PropTypes from 'prop-types'
// import { Tag, Card, Icon, Popover } from 'antd'
// import { Trans } from '@lingui/react'
// import { Launcher } from 'react-chat-window'

const Chat = () => {//user, massageList 
  // const { DeviceName, Note, Belong, BelongProject, objectId } = data

  // const _onMessageWasSent = (message) => {
  //   this.setState({
  //     messageList: [...massageList, message]
  //   })
  // }
  // const _sendMessage = (text) => {
  //   if (text.length > 0) {
  //     this.setState({
  //       messageList: [...massageList, {
  //         author: 'them',
  //         type: 'text',
  //         data: { text }
  //       }]
  //     })
  //   }
  // }
  return (
    // <Launcher
    //   agentProfile={{
    //     teamName: user.username,
    //     imageUrl: user.avatar
    //   }}
    //   onMessageWasSent={_onMessageWasSent}
    //   messageList={massageList}
    //   showEmoji
    // />
    <div></div>
  )
}

Chat.propTypes = {
  data: PropTypes.object,
}

export default Chat
